{// 根据系统设置选择pjax模式或iframe模式 }
{if $system.display_mode == 0}
    {// 添加/编辑等页启用layer弹层加载 }
    {if $layer == false}
        {if $pjax == true}
            {include file="public/breadcrumb" /}
            {__CONTENT__}
        {else /}
            {include file="public/header" /}
            {include file="public/left" /}
            <div class="content-wrapper">
                {include file="public/breadcrumb" /}
                {__CONTENT__}
            </div>
            {include file="public/footer" /}
        {/if}
    {else /}
        {include file="public/header" /}
        <div class="content-wrapper">
            {__CONTENT__}
        </div>
        {include file="public/footer" /}
    {/if}
{else /}
    {if $iframe == true}
        {include file="public/header" /}
        <div class="content-iframe">
            {if $layer == false}
                {include file="public/breadcrumb" /}
            {/if}
            {__CONTENT__}
        </div>
    {else /}
        {include file="public/header" /}
        {include file="public/left" /}
        <div class="content-wrapper iframe-mode" data-widget="iframe" data-loading-screen="600">
            <div class="nav navbar navbar-expand navbar-white navbar-light border-bottom p-0">
                <div class="nav-item dropdown">
                    <a class="nav-link bg-danger dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">Close</a>
                    <div class="dropdown-menu mt-0">
                        <a class="dropdown-item" href="#" data-widget="iframe-close" data-type="all">Close All</a>
                        <a class="dropdown-item" href="#" data-widget="iframe-close" data-type="all-other">Close All Other</a>
                    </div>
                </div>
                <a class="nav-link bg-light" href="#" data-widget="iframe-scrollleft"><i class="fas fa-angle-double-left"></i></a>
                <ul class="navbar-nav overflow-hidden" role="tablist"></ul>
                <a class="nav-link bg-light" href="#" data-widget="iframe-scrollright"><i class="fas fa-angle-double-right"></i></a>
                <a class="nav-link bg-light" href="#" data-widget="iframe-fullscreen"><i class="fas fa-expand"></i></a>
            </div>
            <div class="tab-content">
                <div class="tab-empty">
                    {include file="public/breadcrumb" /}
                    {include file="index/index" /}
                    <!--<h2 class="display-4">No tab selected!</h2>-->
                </div>
                <!--<div class="tab-loading">
                    <div>
                        <h2 class="display-4">loading <i class="fa fa-sync fa-spin"></i></h2>
                    </div>
                </div>-->
            </div>
        </div>
    {/if}
    {include file="public/footer" /}
{/if}



